﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 付款单用途AITDTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class PayBillUseLineAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public PayBillUseLineAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
					PayProperty= -1; 
				
		
					TotalMoney=0m; 
		
		
					Money=0m; 

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.PayBillLineAITDTO != null) 
			{
				this.PayBillLineAITDTO.DoSerializeKeyList(dict);
			}
	        	        			if (this.Project != null) 
			{
				this.Project.DoSerializeKeyList(dict);
			}
	        			if (this.Transactor != null) 
			{
				this.Transactor.DoSerializeKeyList(dict);
			}
	        	        			if (this.IncomeExpendItem != null) 
			{
				this.IncomeExpendItem.DoSerializeKeyList(dict);
			}
	        			if (this.Dept != null) 
			{
				this.Dept.DoSerializeKeyList(dict);
			}
	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public PayBillUseLineAITDTOData(  ufida.u9.ait.openapi.PayBillLineAITDTOData payBillLineAITDTO  , System.Int32 payProperty  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData project  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData transactor  , System.Decimal totalMoney  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData incomeExpendItem  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData dept  , System.Decimal money  )
		{
			initData();
			this.PayBillLineAITDTO = payBillLineAITDTO;
			this.PayProperty = payProperty;
			this.Project = project;
			this.Transactor = transactor;
			this.TotalMoney = totalMoney;
			this.IncomeExpendItem = incomeExpendItem;
			this.Dept = dept;
			this.Money = money;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 付款单行AITDTO
		/// 付款单用途AITDTO.Misc.付款单行AITDTO
		/// </summary>
		private ufida.u9.ait.openapi.PayBillLineAITDTOData m_payBillLineAITDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.PayBillLineAITDTOData PayBillLineAITDTO
		{
			get	
			{	
				return m_payBillLineAITDTO ;
			}
			set	
			{	
				m_payBillLineAITDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 用途
		/// 付款单用途AITDTO.Misc.用途
		/// </summary>
		private System.Int32 m_payProperty ;
		[DataMember(IsRequired=false)]
		public System.Int32 PayProperty
		{
			get	
			{	
				return m_payProperty ;
			}
			set	
			{	
				m_payProperty = value ;	
			}
		}
			
		

		/// <summary>
		/// 项目
		/// 付款单用途AITDTO.Misc.项目
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_project ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Project
		{
			get	
			{	
				return m_project ;
			}
			set	
			{	
				m_project = value ;	
			}
		}
			
		

		/// <summary>
		/// 业务员
		/// 付款单用途AITDTO.Misc.业务员
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_transactor ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Transactor
		{
			get	
			{	
				return m_transactor ;
			}
			set	
			{	
				m_transactor = value ;	
			}
		}
			
		

		/// <summary>
		/// 金额
		/// 付款单用途AITDTO.Misc.金额
		/// </summary>
		private System.Decimal m_totalMoney ;
		[DataMember(IsRequired=false)]
		public System.Decimal TotalMoney
		{
			get	
			{	
				return m_totalMoney ;
			}
			set	
			{	
				m_totalMoney = value ;	
			}
		}
			
		

		/// <summary>
		/// 收支项目
		/// 付款单用途AITDTO.Misc.收支项目
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_incomeExpendItem ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData IncomeExpendItem
		{
			get	
			{	
				return m_incomeExpendItem ;
			}
			set	
			{	
				m_incomeExpendItem = value ;	
			}
		}
			
		

		/// <summary>
		/// 部门
		/// 付款单用途AITDTO.Misc.部门
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_dept ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Dept
		{
			get	
			{	
				return m_dept ;
			}
			set	
			{	
				m_dept = value ;	
			}
		}
			
		

		/// <summary>
		/// 金额
		/// 付款单用途AITDTO.Misc.金额
		/// </summary>
		private System.Decimal m_money ;
		[DataMember(IsRequired=false)]
		public System.Decimal Money
		{
			get	
			{	
				return m_money ;
			}
			set	
			{	
				m_money = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																
		#endregion 
	} 	
}
